/**
 * 
 */
package edu.gtcfla.km.admin.appmodules.service.impl;

import java.lang.reflect.Method;
import java.util.LinkedHashMap;
import java.util.LinkedHashSet;
import java.util.Locale;
import java.util.Map;
import java.util.Set;

import javax.annotation.Resource;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationContext;
import org.springframework.context.NoSuchMessageException;
import org.springframework.context.i18n.LocaleContextHolder;
import org.springframework.core.annotation.AnnotationUtils;
import org.springframework.stereotype.Controller;
import org.springframework.util.ReflectionUtils;
import org.springframework.web.bind.annotation.RequestMapping;
import org.vsg.biz.account.repositories.MenuRepo;
import org.vsg.biz.account.repositories.ModuleFunctionRepo;
import org.vsg.biz.account.repositories.ModuleRepo;
import org.vsg.biz.account.repositories.UrlRepo;
import org.vsg.common.i18n.I18nMessageService;
import org.vsg.module.resources.component.AssociationClass;
import org.vsg.module.resources.component.Menu;
import org.vsg.module.resources.register.ModuleRegisterManager;
import org.vsg.security.annotation.RegisterRequestPermissionStrategy;

import edu.gtcfla.km.admin.appmodules.service.RegisterResourceService;
import edu.gtcfla.km.admin.appmodules.vo.RegisterMenuResourceView;
import edu.gtcfla.km.admin.appmodules.vo.RegisterUrlResourceView;

/**
 * @author Bill Vison
 *
 */
public class RegisterResourceServiceImpl implements RegisterResourceService, InitializingBean {

	private final static Logger logger = LoggerFactory.getLogger(RegisterResourceServiceImpl.class);	

	@Autowired(required=false)
	private ModuleRegisterManager  moduleRegisterManager;
	
	@Autowired
	private ApplicationContext applicationContext;
	
	@Autowired
	private I18nMessageService i18nMessageService;
	
	@Autowired
	private MenuRepo menuRepo;
	
	@Autowired
	private UrlRepo urlRepo;

	
	@Resource
	private ModuleRepo  moduleRepo;

	@Resource
	private ModuleFunctionRepo moduleFunctionRepo;

	@Override
	public void afterPropertiesSet() throws Exception {
		// TODO Auto-generated method stub
		
	}

	@Override
	public Set<RegisterUrlResourceView> listAndShowUrlResourcesViewInModule(
			String moduleId) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Set<RegisterMenuResourceView> listAndShowMenuResourcesViewInModule(
			String moduleId) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public String getModuleIdByRegMenuCode(String menuCode) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public AssociationClass getRegAssoClassByKeyId(String id) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public boolean registerAllResource(String moduleRes, String moduleId) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean unregisterAllResource(String moduleRes, String moduleId) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public void refleshCache() throws Exception {
		// TODO Auto-generated method stub
		
	}
	
	
	
	

	
}
